If I have the option "auto-add files to project", it should ignore files that are
in the "directories to ignore" specification of the projectviewer reimport options.
Currently, it auto-adds files like .git/COMMIT_EDITMSG which it should not ever add
to the project.
Submitted | ezust - 2013-03-18 - 17:11:32z | Assigned | daleanson |
---|---|---|---|
Priority | 5 | Category | Project Viewer |
Status | Open | Group | None |
Resolution | None | Visibility | No |
2013-03-18 - 17:15:24z ezust |
Let me clarify. The option is "importing new files" and the radio button chosen is
"auto import" |
---|---|
2013-03-18 - 17:32:15z ezust |
I tried adding !COMMIT_EDITMSG to the "files to import", and it is also not considered
during auto-import. |
2013-03-31 - 16:44:43z ezust |
looked at the code involved. ProjectViewer line 1251. Now that is what I call ugly-ass
code! And probably must be cleaned up or refactored somehow in order to implement this. |
2013-04-01 - 16:57:59z daleanson |
Yes, that does look like a good candidate for refactoring. |
2013-04-01 - 20:58:43z daleanson |
Ugh. |